package com.program.facesigninsystem.dao;

import com.program.facesigninsystem.iteration.entity.UserEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ITeacherDao {



    /***
     *
     * @param name
     * @param university
     * @param academy
     */
    List<Map<String,Object>> selectList(@Param("name")String name,
                                        @Param("university")String university,
                                        @Param("academy")String academy);

    /***
     *
     * @param user
     */
    Integer addNote(@Param("user") UserEntity user);

    /***
     *
     * @param uid
     */
    List<Map<String,Object>> selectList(@Param("uid")String uid);


}
